package School;

public class Student {
	String name;
	String course;
	static int Temp = 1000;
	int studentID;
	public Student() {
		Temp++;
		studentID = Temp;
	}
	public Student(String name,String course) {
		this.name = name;
		this.course = course;
		Temp++;
		studentID = Temp;
	}
	
	public void SetName(String name) {
		this.name = name;
	}
	
	public String GetName() {
		return name;
	}
	
	public void SetCourse(String course) {
		this.course = course;
	}
	public String GetCourse() {
		return course;
	}
	
	public void showStudent() {
		System.out.println("NAME: "+name);
		System.out.println("Course: "+course);
		System.out.println("StudentID: "+studentID);
		System.out.println("---");
	}
	
}
